package edu.ynu.se.xiecheng.achitectureclass.controller;

import edu.ynu.se.xiecheng.achitectureclass.dao.FoodTypeDAO;
import edu.ynu.se.xiecheng.achitectureclass.entity.FoodType;
import edu.ynu.se.xiecheng.achitectureclass.service.FoodTypeService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "食物种类控制器")
@RestController
@RequestMapping("/foodtype")
public class FoodTypeController extends LogicController<FoodTypeService, FoodTypeDAO, FoodType,Long>{
    public  FoodTypeController(@Autowired FoodTypeService service) {super(service);}

}
